/*    */ package handling.login.handler;
/*    */ 
/*    */ import client.MapleCharacterUtil;
/*    */ import client.MapleClient;
/*    */ import handling.login.LoginInformationProvider;
/*    */ import tools.data.input.LittleEndianAccessor;
/*    */ import tools.packet.LoginPacket;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class CheckCharNameHandler
/*    */ {
/*    */   public static void handlePacket(LittleEndianAccessor slea, MapleClient c) {
/* 19 */     String name = slea.readMapleAsciiString();
/* 20 */     c.announce(LoginPacket.charNameResponse(name, (!MapleCharacterUtil.canCreateChar(name, c.isGm()) || (LoginInformationProvider.getInstance().isForbiddenName(name) && !c.isGm()))));
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\handling\login\handler\CheckCharNameHandler.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */